//
//  SIEmoticonLayout.swift
//  SinaImiate
//
//  Created by xiaoming on 16/7/13.
//  Copyright © 2016年 GoodJob. All rights reserved.
//

import UIKit

class SIEmoticonLayout: UICollectionViewFlowLayout {
    
    override func prepare() {
        super.prepare()
        
        guard let collectionView = collectionView else {
            return
        }
        
        itemSize = collectionView.bounds.size
        
        scrollDirection = .horizontal
        
        
    }

}
